package com.czy;

import java.io.Serializable;

/**
 * @Author chenzy
 * @Date 2020/10/21 11:43
 * @Version 1.0
 * @Description
 */

public class User implements Serializable {
    private int userId;
    private String desc;

    public User() {
    }
    public User(int userId, String desc) {
        this.userId = userId;
        this.desc = desc;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", desc='" + desc + '\'' +
                '}';
    }
}
